package com.ma.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ma.gulimall.utils.PageUtils;
import com.ma.gulimall.ware.entity.PurchaseEntity;
import com.ma.gulimall.ware.vo.MergeVo;
import com.ma.gulimall.ware.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author mayongqiang
 * @email 178780494@qq.com
 * @date 2021-06-13 23:26:35
 */
public interface PurchaseService extends IService<PurchaseEntity> {
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询未领取的采购单
     * */
    PageUtils queryPageUnreceive(Map<String, Object> params);

    /**
     * 合并采购需求
     * */
    void mergePurchase(MergeVo mergeVo);

    /**
     * 领取采购单
     * */
    void recived(List<Long> ids);

    /**
     * 完成采购单
     * */
    void done(PurchaseDoneVo doneVo);
}

